Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates required to run SNAPRed #513

Merged
merged 2 commits into from
Dec 5, 2024
Merged

Conversation

jarrah42
Copy link
Contributor

@jarrah42 jarrah42 commented Dec 5, 2024

SNAPRed seems to require a later build of mantidworkbench to run, otherwise I get an exception:

  File ".../SNAPRed/src/snapred/backend/recipe/algorithm/RemoveEventBackground.py", line 14, in <module>
    from mantid.simpleapi import (
ImportError: cannot import name 'GroupedDetectorIDs' from 'mantid.simpleapi' (.../anaconda3/envs/SNAPRed/lib/python3.10/site-packages/mantid/simpleapi.py)

SNAPRed seems to require a later build of mantidworkbench to run, otherwise I get an exception:

  File ".../SNAPRed/src/snapred/backend/recipe/algorithm/RemoveEventBackground.py", line 14, in <module>
    from mantid.simpleapi import (
ImportError: cannot import name 'GroupedDetectorIDs' from 'mantid.simpleapi' (.../anaconda3/envs/SNAPRed/lib/python3.10/site-packages/mantid/simpleapi.py)
Copy link

codecov bot commented Dec 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.58%. Comparing base (b42fc7b) to head (eb7d31c).
Report is 2 commits behind head on next.

Additional details and impacted files
@@            Coverage Diff             @@
##             next     #513      +/-   ##
==========================================
+ Coverage   95.65%   96.58%   +0.93%     
==========================================
  Files          67       67              
  Lines        5012     5012              
==========================================
+ Hits         4794     4841      +47     
+ Misses        218      171      -47     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

rboston628
rboston628 previously approved these changes Dec 5, 2024
@rboston628 rboston628 merged commit 3ce593e into neutrons:next Dec 5, 2024
8 checks passed
rboston628 added a commit that referenced this pull request Dec 6, 2024
SNAPRed seems to require a later build of mantidworkbench to run, otherwise I get an exception:

  File ".../SNAPRed/src/snapred/backend/recipe/algorithm/RemoveEventBackground.py", line 14, in <module>
    from mantid.simpleapi import (
ImportError: cannot import name 'GroupedDetectorIDs' from 'mantid.simpleapi' (.../anaconda3/envs/SNAPRed/lib/python3.10/site-packages/mantid/simpleapi.py)

Co-authored-by: Reece Boston <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants